package com.xyz.cinema.entity;

import java.util.Date;

/**
 * @author ��
 * @Date 2020��9��10��
 */
public class Order {
	private int id;
	private String name;
	private int showRoom;
	private Date showTime;
	private double ticketPrice;
	private String seatNumber;
	public Order() {
	}

	public Order(int id, String name, int showRoom, Date showTime, double ticketPrice, String seatNumber) {
		this.id = id;
		this.name = name;
		this.showRoom = showRoom;
		this.showTime = showTime;
		this.ticketPrice = ticketPrice;
		this.seatNumber = seatNumber;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getShowRoom() {
		return showRoom;
	}

	public void setShowRoom(int showRoom) {
		this.showRoom = showRoom;
	}

	public Date getShowTime() {
		return showTime;
	}

	public void setShowTime(Date showTime) {
		this.showTime = showTime;
	}

	public double getTicketPrice() {
		return ticketPrice;
	}

	public void setTicketPrice(double ticketPrice) {
		this.ticketPrice = ticketPrice;
	}

	public String getSeatNumber() {
		return seatNumber;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setSeatNumber(String seatNumber) {
		this.seatNumber = seatNumber;
	}

	@Override
	public String toString() {
		return "Order [id=" + id + ", name=" + name + ", showRoom=" + showRoom + ", showTime=" + showTime
				+ ", ticketPrice=" + ticketPrice + ", seatNumber=" + seatNumber + "]";
	}

}
